<#include "layout.ftl">
<#macro head>
<title>后台管理</title>
<script type="text/javascript" charset="utf-8" src="${base.contextPath}/system/ueditor1_2_1/editor_all_min.js"></script>
<script type="text/javascript" charset="utf-8" src="${base.contextPath}/system/ueditor1_2_1/editor_config.js"></script>
<link rel="stylesheet" type="text/css" href="${base.contextPath}/system/ueditor1_2_1/themes/default/ueditor.css"/>
<style type="text/css">
.form-horizontal .controls {
	margin-left: 12px;
}
</style>
</#macro>

<#macro body>
<div class="container-fluid">
	<div class="row-fluid sortable ui-sortable">
		<div class="box span12">
			<div class="box-header well" data-original-title="">
				<h2><i class="icon-edit"></i>修改联系我们</h2>
				<div class="box-icon">
					<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
					<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
					<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
				</div>
			</div>
			<div class="box-content">
				<form class="form-horizontal" action="editAboutUs.html" method="post">
				  <fieldset>
					<div class="control-group">
						<div class="controls">
					  		<script id="editor" name="content" type="text/plain" style="width:998px">
					  			<#if aboutUs??>${aboutUs.detail}<#else> </#if>
							</script>
					  	</div>
					</div>
					<div class="form-actions">
					  <button type="submit" class="btn btn-primary" value="保存">保存</button>
					</div>
				  </fieldset>
				</form>   
			</div>
		</div><!--/span-->

	</div>				
</div><!--/.fluid-container-->
</#macro>
<#macro script>
<script type="text/javascript">
        var editor_a = new baidu.editor.ui.Editor();
        editor_a.render( 'editor' );
    </script>
</#macro>